home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
utilreen
/
lasermat
/
install1.bat
next >
Wrap
DOS Batch File
|
1992-12-06
|
3KB
|
125 lines
@echo off
cls
echo LaserMate400
echo (c) Copyright by E. R. Hunter 1992
echo INSTALLATION PROGRAM
echo .
if '%1' == '%2' goto format
if '%1' == '' goto format
if '%2' == '' goto format
if %2 == a: goto soft
if %2 == A: goto soft
if %2 == b: goto soft
if %2 == B: goto soft
:harddrive
echo HARD DRIVE INSTALLATION %1 to %2 ......
echo Press CTRL-C to terminate installation or
pause
echo .
echo .
%2
cd\
md lm400
cd lm400
echo .
echo .
echo Copying files from %1 to %2\LM400 .......
echo .
echo .
copy %1\lm400pkg.exe %2
echo .
%2
cd\
cd lm400
lm400pkg
goto done1
:soft
echo FLOPPY DISKETTE INSTALLATION %1 to %2 ......
if '%3' == '' goto siz7
echo You will need two formatted blank diskettes.
goto siz
:siz7
echo You will need one formatted blank diskettes.
:siz
echo .
echo .
echo Press CTRL-C to terminate installation or
echo Place LaserMate400 distribution diskette in %1
echo Place blank formatted diskette in drive %2
pause
%1
echo .
echo .
lm400pkg %2 readme1.bat readme2.txt lm400.exe *.idx *.hlp reg*.* viewhelp.bat
lm400pkg %2 exfontp1.fnt exfontp2.fnt exfontl1.fnt exfontl2.fnt lm400.fnt
lm400pkg %2 exset1.set exset2.set exseta1.set exseta2.set lm400.set
if '%3' == '' goto soft1
echo .
echo .
echo Remove diskette from drive %2
echo Place blank formatted diskette in drive %2 and
pause
:soft1
lm400pkg -o %2 printdoc.bat *.prn reg*.*
lm400pkg %2 exfontp3.fnt exfontl3.fnt
lm400pkg %2 exset3.set exset4.set
%2
echo .
echo .
:done1
cls
echo LaserMate400
echo (c) Copyright by E. R. Hunter 1992
echo .
echo .
echo .
echo .
echo .
echo .
echo To Register, enter REGISTER
echo To Print Documentation, enter PRINTDOC
if '%3' == '' goto soft2
echo To run LaserMate400, put first disk in drive %2 and
:soft2
echo .
echo .
echo Enter LM400 /R to run as TSR
echo .
echo or
echo .
echo Enter LM400 to run as NON-TSR
echo .
echo Leave feedback on CompuServe for 71544,273.
echo .
echo .
goto done
:format
echo To install LaserMate400, use below format:
echo .
echo INSTALL1 s: d: f
echo .
echo s = letter for floppy containing LaserMate400 files.
echo d = letter for drive to install LaserMate400 to.
echo f = any character, if installing on 360K floppy diskette.
echo Leave blank if installing on any other floppy or hard drive.
echo .
echo EXAMPLE:
echo .
echo INSTALL1 A: B: f (install from drive A to 360K floppy drive B)
echo INSTALL1 A: B: (install from floppy drive A floppy B (except 360K))
echo INSTALL1 A: C: (install from floppy drive A on hard drive C)
:done